package encapsulation;

public class LapTopDemo {

	public static void main(String[] args) {
		
		
		LapTop laptop1 = new LapTop("Lenovo","233W","Windows 64 bit",4);
		 
		
		//Setting the values
		laptop1.setWifiConnect(true);
		laptop1.setIsStarted(true);
		
		//Passing the parameters to increase the memory.
		 laptop1.increaseMemory(1);
		 
		// getting the values for variables
		
		System.out.println("LapTop1 Make : " + laptop1.getMake());
		System.out.println("LapTop1 Memory RAM :" + laptop1.getMemoryRAM());
		System.out.println("LapTop1 Model No :" + laptop1.getModelNo());
		System.out.println("LapTop1 System Type :" + laptop1.getSystemType());
		System.out.println("LapTop1 wifi connected  :" + laptop1.iswifiConnect());
		System.out.println("LapTop1 System Started :" + laptop1.isStarted());
		
	}

}
